package 注解中定义属性.test02;

public class AnnotationTest02 {

    @MyAnnotation(value = "haha")
    public void m1(){

    }

    @MyAnnotation("haha")//可以省略value
    public void m2(){

    }
}
